![]() |
New! Play Games and Compete with others in the Arcade! |
|
|
#1 |
|
Registered User
|
What is "BLE" instruction
I've made some file (example.bin, contains 2 bytes: 6F12) and disassembled it using sega disasm:
disasm -x example.bin example.asm File example.asm contains this info: 6F12 BLE $00000014 What is BLE (6F) instuction? I can't find any info about it even in the official Motorola doc! P.S. It's not unusual question. When I replace 6F12 to 6012 (BRA instruction) in my Phantasy Star 3 ROM, one strike kill small enemies...
__________________
Thanks for attention. Chemist. |
|
|
|
|
#2 |
|
Registered User
Join Date: Jun 2002
Posts: 274
|
Well actually, 6F12 (not 6F) is a conditional branch instruction. BLE means: Branch if Less then Equal.
6012 is an "unconditional" branch instruction, which means it happens no matter what (it skips ahead 12 bytes in the program). I'm pretty sure that all M68k instructions are 2 bytes (4 digits). |
|
|